/*
	Copyright 2012 J. Gohlke
	Licensed under the Apache License, Version 2.0 (the
	"License"); you may not use this file except in
	compliance with the License. You may obtain a copy
	of the License at

	http://www.apache.org/licenses/LICENSE-2.0

	Unless required by applicable law or agreed to in
	writing, software distributed under the License is
	distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
	OR CONDITIONS OF ANY KIND, either express or
	implied. See the License for the specific language
	governing permissions and limitations under the
	License
 */
package com.gohlke.lwo;

import com.gohlke.lwo.clips.*;

import com.gohlke.lwo.params.FloatParam;
import com.gohlke.lwo.types.ColorSpace;
import com.gohlke.lwo.types.Plugin;

import java.util.ArrayList;

/**
 *
 * @author David Wise
 */
public class LightwaveObjectClip {

    public long index;
    public ClipType type;
    
    // TIME
    public float startTime;
    public float duration;
    public float frameRate;
    
    public ClipSource source;
    
    public ColorSpace colorSpaceRGB;
    public ColorSpace colorSpaceAlpha;
    
    public FloatParam contrast = new FloatParam(1f);
    public FloatParam brightness = new FloatParam(1f);
    public FloatParam saturation = new FloatParam(1f);
    public FloatParam hue;
    public FloatParam gamma = new FloatParam(1f);
    public Boolean negative = false;
    
    public int currentImageFiltering;
    public int currentImageDithering;
    
    public ArrayList<Plugin> imageFilters = new ArrayList<Plugin>();
    public ArrayList<Plugin> pixelFilters = new ArrayList<Plugin>();

    public LightwaveObjectClip(long clipIndex, ClipType type) {
        this.index = clipIndex;
        this.type = type;
    }
    
    
}
